import React from 'react';
import { connect } from 'dva'
import { routerRedux } from 'dva/router';
import { List, Icon, SearchBar, Calendar, DatePicker, WhiteSpace, WingBlank } from 'antd-mobile';


const Item = List.Item;
class dwreportlist extends React.Component{
  constructor(props){
    super(props);
    this.state={
    }
  }

  BgParticulars = () =>{
    this.props.dispatch(
      routerRedux.push({
        pathname:"/work/dwreportlist/dwreportx",
      })
    )
  };

  render(){
    return(
      <div className="dwreportlist">
        <List>
        <WingBlank><SearchBar placeholder="搜索" maxLength={8} /></WingBlank>
        <WhiteSpace />
          <Item arrow="horizontal" onClick={this.BgParticulars}>2017年11月份党务报告</Item>
          <Item arrow="horizontal">2017年10月份党务报告</Item>
          <Item arrow="horizontal">2017年9月份党务报告</Item>
          <Item arrow="horizontal">2017年8月份党务报告</Item>
        </List>
      </div>
    )
  }
}

function mapStateToProps({ infor }){
  return {
    infor
  };
}

export default connect(mapStateToProps)(dwreportlist);
